<?php
require_once '../../global.inc.php';
//SESSION中取出积分资料信息
$id				= $_GET["id"];
$memberInfo		= $_SESSION["memberInfo"];
$logScoreArray	= $_SESSION["logScoreArray"];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../js/utils.js"></script>
<script type="text/javascript" src="js/checkForm.js"></script>
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.input1 {
	width:100%;
}
div{margin:0 10px}
.STYLE1  {color: #e1e2e3; font-size: 12px;}
.STYLE6  {color: #000000; font-size: 12px;}
.STYLE10 {color: #000000; font-size: 12px;}
.STYLE19 {color: #344b50; font-size: 12px;}
.STYLE21 {color: #3b6375; font-size: 12px;}
.STYLE22 {color: #295568; font-size: 12px;}

-->
</style>
</head>

<body>
<div align="center"><h3>会员积分增减调整</h3></div>
<form action="../../action/scoreAction.php?op=edit&id=<?php echo $id?>" method="post"  onsubmit="return checkScore()">
<table align="center" width="30%" border="0" cellpadding="3" cellspacing="1" bgcolor="#a8c7ce">
	<tr>
		<td width="30%" bgcolor="d3eaef" class="STYLE6"><div align="left"><span class="STYLE10">会员积分：</span></div></td>
		<td   bgcolor="#FFFFFF" class="STYLE6"><div align="left"><input readonly="readonly" style="width: 100%" type="text" id = "totalScore" name="totalScore" value="<?php echo $memberInfo['score']?>" /></div></td>
	</tr>
    <tr><td colspan="2" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10"><font style="font-weight:bold">积分调整操作</font></span></div></td></tr>
 	     	<tr>
                <td bgcolor="d3eaef" class="STYLE6"><div align="left"><span class="STYLE10">调整类型：</span></div></td>
                <td bgcolor="#FFFFFF" class="STYLE6"><div align="center">
		        	<select class="input1"  name='changeType' id='changeType'>
		        		<option  value='-1'>请选择</option>
		        		<option  value='1'>手工调整</option>
						<option  value='3'>推荐新会员</option>
						<option  value='4'>换购礼物</option>
		            </select>
		        </div></td>
	     	</tr>
	     	<tr>
                <td bgcolor="d3eaef" class="STYLE6"><div align="left"><span class="STYLE10">调整方式：</span></div></td>
                <td bgcolor="#FFFFFF" class="STYLE6"><div align="center">
		        	<select class="input1"  name='changeMethod' id='changeMethod'>
		        		<option  value='-1'>请选择</option>
		        		<option  value='0'>减少</option>
						<option  value='1'>增加</option>
		            </select>
		        </div></td>
	     	</tr>

              <tr>
                <td bgcolor="d3eaef" class="STYLE6"><div align="left"><span class="STYLE10">调整分数：</span></div></td>
                <td bgcolor="#FFFFFF" class="STYLE6"><div align="left"><input style="width: 100%" type="text" id = "changeScore" name="changeScore" /></div></td>
              </tr>
              <tr>
                <td bgcolor="d3eaef" class="STYLE6"><div align="left"><span class="STYLE10">调整原因：</span></div></td>
                <td bgcolor="#FFFFFF" class="STYLE6"><div align="left"><input style="width: 100%" type="text" id = "changeReason" name="changeReason" /></div></td>
              </tr>
              <tr>
                <td bgcolor="d3eaef" class="STYLE6"><div align="left"><span class="STYLE10">备注：</span></div></td>
                <td bgcolor="#FFFFFF" class="STYLE6"><div align="left"><input style="width: 100%" type="text" id = "comments" name="comments" /></div></td>
              </tr>
	           	<tr>
	                <td colspan="2" bgcolor="#FFFFFF" class="STYLE6">
	                	<div align="center">
	                    	<input type="submit" id = "submit1" name="submit1" value="提交" />
	                    </div>
	                </td>
		        </tr>
	</table>
</form>
</body>
</html>
